<h1><?=$data['title'];?></h1>
<table>
<?php foreach($data['list'] as $row){?>
    <tr>
        <td width="180"><?=$row['name']?></td>
        <td width="500"><?=$row['settings']?></td>
        <td width="120">
            <button class="btn primary" onclick="modal('#modal','?settingsid=<?=$row[id];?>','confirm');">Редактировать</button>
        </td>
    </tr>
<?php } ?>
</table>